# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreinfo
pkgver=3.0.1
pkgrel=0
pkgdesc="A file information tool from the CoreApps family."
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libmediainfo-dev libzen-dev"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coreinfo/-/archive/v$pkgver/coreinfo-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="8b71bd05b0a81821534c8a2e25feca6bf80b5f3acea929aa651ccb49d7a079828cef73fb92a813fa1dfddc94347cbbc5d4af3bf0f8a847f57cd2013436d9c42d  coreinfo-3.0.1.tar.gz"
